package org.lhg.activiti.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lhg.activiti.model.StudentLeave;

import java.util.List;
import java.util.Map;

public interface LeaveService extends IService<StudentLeave> {
    int addLeave(StudentLeave leave);

    List<StudentLeave> listLeave(Map<String,Object> map);

    Long getTotal(Map<String, Object> map);

    StudentLeave findById(Integer leaveId);

    int update(StudentLeave leave);

    StudentLeave leave_by_processInstanceId(String processInstanceId);
}
